/*
 * *
 *  * Copyright (c) iwindplus Technologies Co., Ltd.2024-2030, All rights reserved.
 *
 *
 */

package com.iwindplus.mgt.api.system;

import com.iwindplus.base.domain.vo.ApiSignVO;
import com.iwindplus.base.domain.vo.ResultVO;
import io.swagger.v3.oas.annotations.Operation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * 应用凭证相关接口.
 *
 * @author zengdegui
 * @since 2020年4月1日
 */
public interface AppCertApi {

    /**
     * API前缀.
     */
    String API_PREFIX = "inner/appCert/";

    /**
     * 通过访问key查找.
     *
     * @param accessKey 访问key
     * @return ResultVO<ApiSignVO>
     */
    @Operation(summary = "通过访问key查找")
    @GetMapping(API_PREFIX + "getByAccessKey")
    ResultVO<ApiSignVO> getByAccessKey(@RequestParam(value = "accessKey") String accessKey);
}
